package com.jintoufs.service.banner;

import com.jintoufs.dao.QueryFilters;
import com.jintoufs.domain.banner.Banner;

import java.util.List;
import java.util.Map;

/**
 * Created by xufei on 2017/12/21.
 */
public interface BannerService {

    List<Map<String, Object>> queryByParams(Map<String, Object> params);

    /**
     * 保存优惠券
     *
     * @return
     */
    Map<String, Object> save(Banner banner);

    void delete(Integer id);
    //分页查询
    List<Map<String,Object>> getByFilter(QueryFilters filters);

    //明细查询
    Map<String,Object> getById(Integer id);

    Banner selectById(Integer id);

}
